﻿<%@ Page Language="C#" MasterPageFile="~/Adminpages/Site2.Master" AutoEventWireup="true" CodeBehind="AFanpage.aspx.cs" Inherits="websoni.Adminpages.WebForm9" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p>
        <br />
    </p>
    <table class="style1">
        <tr>
            <td colspan="2">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    Width="702px" AllowPaging="True" 
                    onpageindexchanging="GridView1_PageIndexChanging">
                    <Columns>
                        <asp:BoundField DataField="fanname" HeaderText="Fan Name">
                            <ItemStyle VerticalAlign="Top" Width="150px" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="Picture">
                            <ItemTemplate>
                                <asp:Image ID="Image1" runat="server" Height="49px" 
                                    ImageUrl='<%# "~/images/"+Eval("fanphoto") %>' Width="106px" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="fdesc" HeaderText="About Picture">
                            <ItemStyle VerticalAlign="Top" Width="500px" />
                        </asp:BoundField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:Button ID="Button1" runat="server" CommandArgument='<%# Eval("fid") %>' 
                                    CommandName="Delete" oncommand="Button1_Command" Text="Delete" />
                            </ItemTemplate>
                            <ItemStyle VerticalAlign="Top" />
                        </asp:TemplateField>
                    </Columns>
                    <PagerStyle HorizontalAlign="Center" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
